package pack1;

public class Program4 {
public static void main(String[] args) {
	String str1="hyderabad";
	System.out.println(str1);
	System.out.println("*******substring(2)**********");
	String str2=str1.substring(2);
	System.out.println(str2);
	System.out.println("********substring(2,4)*******");
	String str3=str1.substring(2,4);
	System.out.println(str3);
	System.out.println("*********charAt(4)********");
	char ch=str1.charAt(1);
	System.out.println(ch);
	
	
	
}
}
